﻿#region

using System;

#endregion

namespace Radovici.SharedLibrary
{
    public class CancelEventArgs : EventArgs
    {
        #region Private fields

        private readonly bool _cancel;

        #endregion

        public CancelEventArgs(bool cancel)
        {
            _cancel = cancel;
        }

        public bool Cancel
        {
            get { return _cancel; }
        }
    }

    public delegate void CancelEventHandler(object sender, CancelEventArgs cancel);
}